package d14_abstract_template;

import d14_abstract_template.Student;

public class Test {
    public static void main(String[] args) {
        //目标：搞清楚抽象类的应用场景之一：经常用设计模板方法设计模式
        Teacher t = new Teacher();
        t.write();
        Student s = new Student();
        s.write();
    }
}
